/**
 * 
 */
package org.arpit.masteringextjs.domain;

import javax.persistence.Entity;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * @author arpit.rathore
 *
 */
@Entity
public class Actor extends BaseEntity {

	private String firstName;
	private String lastName;
	
	/**
	 * @return the firstName
	 */
	@JsonProperty("first_name")
	public String getFirstName() {
		return firstName;
	}
	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * @return the lastName
	 */
	@JsonProperty("last_name")
	public String getLastName() {
		return lastName;
	}
	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	
	@Override
	@JsonProperty("actor_id")
	public Long getId() {
		return super.getId();
	}
}
